import instance from '@/utils/http.js'
import qs from 'qs'

/**
 *  店铺分类列表
 */
export const shopCategoryListAPI = (data) => { 
  return instance.get("/shopCategory",{params:data});
};

/**
* 店铺分类添加
*/
export const shopCategoryAddAPI = (data) => { 
  return instance.post("/shopCategory", qs.stringify(data));
};
/**
* 店铺分类修改
*/
export const shopCategoryUpdateAPI = (data) => { 
  return instance.post("/shopCategory", qs.stringify(data));
};
/**
* 店铺分类删除
*/
export const shopCategoryDeleteAPI = (data) => { 
  return instance.get("/shopCategory", { params: data });
};